package com.lin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.entity.Role;
import com.lin.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 时间：2023/8/20
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
     List<Role> getRolesByUid(@Param("uid")Integer uid);
}
